
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>恒铸智能柜管理平台</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/layui/css/layui.css"
	media="all" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/public.css"
	media="all" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/layui/layui.js"></script>

</head>
<style type="text/css">
#form1 {
	margin-top: 50px;
}

.layui-input {
	width: 200px
}

.laytable-cell-1-6 {
	width: 170px !important;
}

.laytable-cell-1-8 {
	width: 194px !important;
}

.layui-form-label {
	width: 130px !important;
}
</style>

<script type="text/javascript">
	layui.use(['form','layer'],function(){
	    var form = layui.form,
	        layer = parent.layer === undefined ? layui.layer : top.layer,
	        $ = layui.jquery,
	        laydate = layui.laydate,
	        laytpl = layui.laytpl;
	    
	    
	    $(function(){
	    	$("#alibeinder").click(function(){
	    		layer.open({
					  type: 2,
					  title: "请用支付宝扫描二维码进行绑定",
					  closeBtn: 0,
					  area: ['416px', '460px'],
					  skin: 'layui-layer-nobg', //没有背景色
					  shadeClose: true,
					  content:'/userAmount/getWeixinBinder',
					});
	    	});
	    	
	    	
	    	$("#weixinbindere").click(function(){
	    		layer.open({
					  type: 2,
					  title: "请用微信扫描二维码进行绑定",
					  closeBtn: 0,
					  area: ['416px', '460px'],
					  skin: 'layui-layer-nobg', //没有背景色
					  shadeClose: true,
					  content:'/userAmount/getWeixinBinder',
					});
	    	})
	    })
	  })
	
	
	
	
	
	</script>




<body class="childrenBody">


	<form id="form1" method="post" action="" class="layui-form">

		<div class="layui-form-item">
			<label class="layui-form-label">微信收款账户：</label>
			<div class="layui-input-inline">
				<input type="text" autocomplete="off" class="layui-input" value=""
					disabled>
			</div>
			<shiro:hasPermission name="userAmount:getWeixinBinder">
				<div style="display: inline; margin-left: 20px">
					<a class="layui-btn" lay-submit id="weixinbindere">绑定</a>
				</div>
			</shiro:hasPermission>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">支付宝收款账户：</label>
			<div class="layui-input-inline" style="display: inline;">
				<input type="text" autocomplete="off" class="layui-input" value=""
					disabled>
			</div>
			<shiro:hasPermission name="userAmount:getWeixinBinder">
				<div style="display: inline; margin-left: 20px">
					<a class="layui-btn" type="sumbit" id="alibeinder">绑定</a>
				</div>
			</shiro:hasPermission>

		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">账户余额：</label>
			<div class="layui-input-inline">
				<input type="text" autocomplete="off" class="layui-input"
					value=${compBalanceStr } disabled>
			</div>
		</div>
		<hr />

		<div class="layui-form-item">
			<div class="layui-input-block">
				<a class="layui-btn" lay-submit lay-filter="formDemo" id="mybtn">立即提现</a>
			</div>
		</div>
	</form>
</body>


</html>